/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.za.cput.kleintjes.question3.srp.violates.conf;

import ac.za.cput.kleintjes.question3.srp.violates.services.Fibonacci;
import ac.za.cput.kleintjes.question3.srp.violates.services.impl.FibonacciNumberImpl;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;

/**
 * @author Hughan.Kleintjes.hughanK@gmail.com
 */
@Configurable
public class FibonacciConfig {    
    @Bean(name = "number")
    public Fibonacci number() 
    {
        return new FibonacciNumberImpl();
    }
    
}
